import { request } from '@/utils/request'
export const getUserListAPI = object => request('admin/user/level/index', 'post', { data: object })
export const batchDelAPI = id => request('admin/user/level/del', 'post', { data: id })
export const addPlanAPI = object => request('admin/user/level/add', 'post', { data: object })
export const editPlanAPI = object => request('admin/user/level/edit', 'post', { data: object })
export const getPlanInfoAPI = id => request('admin/brand/config/autoUpgrade', 'get', { params: id })
export const uploadInfoAPI = object => request('admin/brand/config/autoUpgrade', 'post', { data: object })
export const getGradeListAPI = object => request('admin/user/LevelCard/index', 'post', { data: object })
export const delGradeListAPI = id => request('admin/user/LevelCard/del', 'post', { data: id })
export const addGradeListAPI = object => request('admin/user/LevelCard/add', 'post', { data: object })
export const editGradeListAPI = object => request('admin/user/LevelCard/edit', 'post', { data: object })
export const getRuleListAPI = id => request('admin/brand/config/giveActivationCode', 'get', { params: id })
export const upRuleListAPI = object => request('admin/brand/config/giveActivationCode', 'post', { data: object })
export const getAppListAPI = object => request('admin/brand/config/common', 'get', { params: object })
export const getPayTypeAPI = () => request('admin/user/levelcardorder/getOrderStatus', 'post')
export const getActiveListAPI = object => request('admin/user/ActivationCode/index', 'post', { data: object })
export const delActivaListAPI = id => request('admin/user/ActivationCode/del', 'post', { data: id })
export const addActivaListAPI = object => request('admin/user/ActivationCode/addActivation', 'post', { data: object })
export const getDebtListAPI = object => request('admin/user/DebtGift/index', 'post', { data: object })
export const delDebtListAPI = object => request('admin/user/DebtGift/del', 'post', { data: object })
export const addDebtListAPI = object => request('admin/user/DebtGift/add', 'post', { data: object })
export const editDebtListAPI = object => request('admin/user/DebtGift/edit', 'post', { data: object })
export const payTypeAPI = object => request('admin/user/GiftOrder/getStatus', 'post', { data: object })
export const getPromptTypeAPI = object => request('admin/brand/AppDictmsg/getPositionList', 'post', { data: object })
export const getPromptListAPI = object => request('admin/brand/AppDictmsg/index', 'post', { data: object })
export const addPromptListAPI = object => request('admin/brand/AppDictmsg/add', 'post', { data: object })
export const delPromptListAPI = object => request('admin/brand/AppDictmsg/del', 'post', { data: object })
export const editPromptListAPI = object => request('admin/brand/AppDictmsg/edit', 'post', { data: object })
export const brandTypeAPI = () => request('admin/brand/brand/selectPage', 'post')
export const brandSyncAPI = object => request('admin/brand/AppDictmsg/duplicate', 'post', { data: object })
